﻿using System.Web.Mvc;

namespace Icms.WebUI.Controllers
{
    public class StatusAjaxRadioListController : Controller
    {
        public ActionResult GetItems(string key)
        {
            var res = new[]{
                               new SelectListItem{Text = "Proiect",Value = "D",Selected = (key == "D")},
                               new SelectListItem{Text = "Final",Value = "F",Selected = (key == "F")},
                           };

            return Json(res);
        }
    }
}